package xyz.labmem.main.modular.app.zhgk.entity

import com.alibaba.excel.annotation.format.DateTimeFormat
import com.alibaba.excel.annotation.ExcelProperty
import com.baomidou.mybatisplus.annotation.TableField
import com.baomidou.mybatisplus.annotation.TableName
import com.fasterxml.jackson.annotation.JsonFormat
import com.fasterxml.jackson.annotation.JsonInclude
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import xyz.labmem.base.core.annotion.SocketPath
import xyz.labmem.base.core.annotion.SqlColumn
import xyz.labmem.base.core.base.GFBaseEntity
import java.util.*

/**
 * @Author lty
 * @Date 2022/2/7 14:06
 */
@SocketPath("false",order=1)
@TableName("zh_gfdywyhbsjgcjb")
@ApiModel(value = "国防动员委员会办事机构")
class App_zhgfdywyhbsjgcjb : GFBaseEntity<App_zhgfdywyhbsjgcjb>() {

    @TableField("SSXQ")
    @ApiModelProperty(value = "所属辖区")
    @ExcelProperty("所属辖区")
    var SSXQ: String? = null

    @TableField("tbrq")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat("yyyy-MM-dd")
    @ApiModelProperty(value = "填表日期")
    @ExcelProperty("填表日期")
    var tbrq: Date? = null

    @SqlColumn(unit=true)
    @TableField("JGMC")
    @ApiModelProperty(value = "机构名称")
    @ExcelProperty("机构名称")
    var JGMC: String? = null

    @TableField("JGLB")
    @ApiModelProperty(value = "机构类别")
    @ExcelProperty("机构类别")
    var JGLB: String? = null

    @TableField("JGJB")
    @ApiModelProperty(value = "机构级别")
    @ExcelProperty("机构级别")
    var JGJB: String? = null

    @SqlColumn
    @TableField("BSDW")
    @ApiModelProperty(value = "编设单位")
    @ExcelProperty("编设单位")
    var BSDW: String? = null

    @SqlColumn
    @TableField("DWXXDZ")
    @ApiModelProperty(value = "单位详细地址")
    @ExcelProperty("单位详细地址")
    var DWXXDZ: String? = null

    @TableField("BZRS_（R）")
    @ApiModelProperty(value = "编制人数(人)")
    @ExcelProperty("编制人数-（人）")
    var BZRS: String? = null

    @TableField("XYRS_ZS")
    @ApiModelProperty(value = "现有人数-总数(人)")
    @ExcelProperty("现有人数-总数")
    var XYRSZS: String? = null

    @TableField("XYRS_ZZ")
    @ApiModelProperty(value = "现有人数-专职(人)")
    @ExcelProperty("现有人数-专职")
    var XYRSZZ: String? = null

    @TableField("XYRS_JZ")
    @ApiModelProperty(value = "现有人数-兼职(人)")
    @ExcelProperty("现有人数-兼职")
    var XYRSJZ: String? = null
    @SqlColumn
    @TableField("LLY_ZW")
    @ApiModelProperty(value = "联络员-职务")
    @ExcelProperty("联络员-职务")
    var LLYZW: String? = null
    @SqlColumn
    @TableField("LLY_XM")
    @ApiModelProperty(value = "联络员-姓名")
    @ExcelProperty("联络员-姓名")
    var LLYXM: String? = null
    @SqlColumn
    @TableField("LLY_LXFS")
    @ApiModelProperty(value = "联络员-联系方式")
    @ExcelProperty("联络员-联系方式")
    var LLYLXFS: String? = null

}